package com.zhiyou.entity;

import jdk.internal.org.objectweb.asm.tree.analysis.Value;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Table;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "contract")
import java.util.Date;

public class Contract {
    private Integer cId;

    private Integer hId;

    private Integer lId;

    private String cTime;

    private String cTaketime;

    private String cOvertime;
    private Date cTime;

    private Date cTaketime;

    private Date cOvertime;

    private Double cRental;

    private Double cCash;

    private String cName;

    private Integer cStatus;

    private House house;

    private Lessee lessee;





    public Integer getcId() {
        return cId;
    }

    public void setcId(Integer cId) {
        this.cId = cId;
    }

    public Integer gethId() {
        return hId;
    }

    public void sethId(Integer hId) {
        this.hId = hId;
    }

    public Integer getlId() {
        return lId;
    }

    public void setlId(Integer lId) {
        this.lId = lId;
    }

    public Date getcTime() {
        return cTime;
    }

    public void setcTime(Date cTime) {
        this.cTime = cTime;
    }

    public Date getcTaketime() {
        return cTaketime;
    }

    public void setcTaketime(Date cTaketime) {
        this.cTaketime = cTaketime;
    }

    public Date getcOvertime() {
        return cOvertime;
    }

    public void setcOvertime(Date cOvertime) {
        this.cOvertime = cOvertime;
    }

    public Double getcRental() {
        return cRental;
    }

    public void setcRental(Double cRental) {
        this.cRental = cRental;
    }

    public Double getcCash() {
        return cCash;
    }

    public void setcCash(Double cCash) {
        this.cCash = cCash;
    }

    public String getcName() {
        return cName;
    }

    public void setcName(String cName) {
        this.cName = cName;
    }

    public Integer getcStatus() {
        return cStatus;
    }

    public void setcStatus(Integer cStatus) {
        this.cStatus = cStatus;
    }
}